package com.czx.drivingtest.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 考试成绩实体类
 * @author czx
 * @version 2021/3/25 10:08 下午
 */
@Getter
@Setter
public class ExamResult {
    @JsonSerialize(using = ToStringSerializer.class)
    private long id;

    private long userId;

    private int score;
    /**
     * 1科目一  2科目二
     */
    private int subject;

    private Date createTime;
}
